import br.com.nooclix.salon.ui.screen.attendancesheet.AttendanceSheetWindow;
import br.com.nooclix.salon.ui.screen.attendancesheet.reports.ReportWindow;
import br.com.nooclix.salon.ui.screen.customer.CustomerWindow;

public function creation():void{
	
	this.titleLabel.text = "Opções de Atendimento / Reservas";
	
	newAttendance.imageIcon.source = "br/com/nooclix/salon/ui/icons/menubutton/attendance-add.png";
	newAttendance.labelName.text = "Novo Atendimento";
	newAttendance.onClick(function ():void{
		var attendanceSheetWindow:AttendanceSheetWindow = new AttendanceSheetWindow();
		attendanceSheetWindow.openPanel();
		attendanceSheetWindow.currentState = "bookingView";
	});
	
	
	findAttendance.imageIcon.source = "br/com/nooclix/salon/ui/icons/menubutton/attendance-search.png";
	findAttendance.labelName.text = "Buscar Atendimento";
	findAttendance.onClick(function ():void{
		var attendanceSheetWindow:AttendanceSheetWindow = new AttendanceSheetWindow();
		attendanceSheetWindow.openPanel();
		attendanceSheetWindow.currentState = "search";
	});
	
	newBooking.imageIcon.source = "br/com/nooclix/salon/ui/icons/menubutton/booking-add.png";
	newBooking.labelName.text = "Fazer Reserva";
	newBooking.onClick(function ():void{
		var attendanceSheetWindow:AttendanceSheetWindow = new AttendanceSheetWindow();
		attendanceSheetWindow.openPanel();
		attendanceSheetWindow.currentState = "booking";
		attendanceSheetWindow.y = 70;
	});
	
	findBooking.imageIcon.source = "br/com/nooclix/salon/ui/icons/menubutton/booking-search.png";
	findBooking.labelName.text = "Buscar Reserva";
	findBooking.onClick(function ():void{
		var attendanceSheetWindow:AttendanceSheetWindow = new AttendanceSheetWindow();
		attendanceSheetWindow.openPanel();
		attendanceSheetWindow.currentState = "searchReserve";
	});
	
	
}